package com.woniuxy.cinmea.management.Clients;

import com.woniuxy.config.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "user")
@RequestMapping("/user")
public interface UserClient {
    @PostMapping("/cinemaAdd/{userId}/{cinemaId}")
    ResponseResult cinemaAdd(@PathVariable("userId") int userId,@PathVariable("cinemaId") int cinemaId);
}
